/*
 * Copyright (c) 2012-2014, EpicSaaS Yuan Xin technology Co., Ltd.
 * 
 * All rights reserved.
 */
package com.server.modules.sys.common;

/**
 * 一些全局的字符串（系统中的一些控制性的字典，与运行环境无关的一些控制性的字典，相当于是不可变的配置，因为可变的配置必须放在.property文件里）
 * @author dingguangbiao@qq.com 
 *
 */
public class StaticDefine {
	//统计的时间区间类型
    public class STATISTICS_RANGETYPE {
        // 默认是按天
        public final static String DAY = "1";// 按天
        public final static String WEEK = "2";// 按周
        public final static String MONTH = "3";// 按月
    }
    
    public class STATISTICS_OFFICEORUSER {
        public final static String OFFICE = "office";// 
        public final static String USER = "user";//
        public final static String COMPANY = "company";//
    }
    
    public class STATISTICS_TYPE {
        public final static String USERGROWTH = "1";// 用户增长量统计
        public final static String APPLYCUSTOMPAY = "2";//贷款申请数统计
        public final static String SERVICECHARGE = "3";//用户缴费总额统计
        public final static String FINISHLOAN = "4";//用户下款总额统计
        public final static String REFUND = "5";//用户退款总额统计
        
    }
    
    
    public class LOAN_CUSTOM_PAY_ORDER_FLAG {
    	//订单状态，0未付款，1付款成功，2付款失败,3贷款成功，4已退款
    	//订单状态修改后：0待审核，1未付款，2付款成功,3贷款失败
        //订单状态修改v2，0申请成功，1支付定金，2审核中, 3结算，4贷款成功，5.贷款失败
        //订单状态修改v3，0申请成功,等待支付定金，1支付定金成功，等待审核，2审核完成，等待结算, 3结算完成，贷款成功，4.贷款失败
        public final static String WATTINGPAY = "0";// 申请成功,等待支付定金
        public final static String WAITTINGCHECK = "1";//支付定金成功,等待我们审核
        public final static String WATTINGSETTLEMENT = "2";//审核通过，等待结算
        public final static String WATTINGPAYSETTLEMENT = "3";//结算完成，等待付款
        public final static String LOANSUCCESS = "4";//付款完成，贷款成功
        public final static String LOANFAILED = "5";//贷款失败
        
    }
    public class LOAN_CUSTOM_PAY_ORIGIN {
        public final static String APP = "0";// APP
        public final static String PC = "1";//PC


    }
    
    public class CUSTOMER_IMPORT_TYPE {
        public final static String car = "1";// 车辆
        public final static String house = "2";//房产
        public final static String other = "3";//其他
    }
    public static class CUSTOMER_IMPORT_TYPE_EXCEL_HEADER {
        public final static String[] car = new String[]{"姓名","手机","座机","车辆信息","车牌","上牌时间"};// 车辆
        public final static String[] house =new String[]{"姓名","手机","座机","房产信息","户型","地址"};//房产
        public final static String[] other = new String[]{"姓名","手机","座机","公司名称","职务","地址"};//其他
    }
    public static class CUSTOMER_IMPORT_MQ_TYPE {
    	 public final static String IMPORT_INDB_MQ = "IMPORT_INDB_MQ";// 
    }
    public static class SETTLEMENT_ITEM_PAY_FLAG {
        public final static String UNPAY = "0";//付款标示 0.未付款 1.已付款（不管是收入还是支出）
        public final static String PAYED= "1";//付款标示 0.未付款 1.已付款（不管是收入还是支出）
    }
    public static class SETTLEMENT_ITEM_TYPE {
        public final static String IN = "0";//支出或收入类型 0.收入 1.支出
        public final static String OUT= "1";//支出或收入类型 0.收入 1.支出
    }
    public static class SETTLEMENT_TYPE {
        //结算方式 0.结算收款 1.结算退款 2.结算付款 3.后台付订金 4.app付订金
        public final static String SETTLEMENT = "0";//结算
        public final static String BACK_SC= "1";//后台付订金
        public final static String APP_SC= "2";//app付订金
    }
    public static class SETTLEMENT_ITEM_SETTLEMENTTYPE {
        //结算方式 0.结算收款 1.结算退款 2.结算付款 3.后台付订金 4.app付订金
        public final static String SETTLEMENT_SK = "0";//结算收款
        public final static String SETTLEMENT_TK= "1";//结算退款
        public final static String SETTLEMENT_FK= "2";//结算付款
        public final static String BACK_SC= "3";//后台付订金
        public final static String APP_SC= "4";//app付订金
    }
    // 字典说明
    public class DIC {

    }


    public class DIC_SCHEDULE_TYPE {
        public final static String OTHER= "0";//
        public final static String MATTER= "1";//
    }

    public class DIC_REPEAT_TYPE {
        public final static String DAY = "01";// 天

        public final static String WEEK = "02";// 周

        public final static String MONTH = "03";// 月

        public final static String YEAR = "04";// 年
    }

    public class DIC_PERIOD_TYPE {
        public final static String DAY = "00";// 一天

        public final static String WEEK = "01";// 一周

        public final static String MONTH = "02";// 一个月
    }

    public class JUHE_CAR_AREA_TYPE {
        public final static String PROVINCE = "01";// 省份

        public final static String CITY = "02";// 城市

    }
}
